<template>
  <div class="form-container">
    <h2>参数采集配置</h2>
    <div class="form-group">
      <label>Paraid号</label>
      <input type="text" v-model="config.paraid">
    </div>
    <div class="form-group">
      <label>采集值</label>
      <input type="text" v-model="config.value">
    </div>
    <div class="form-group">
      <label>采集时间</label>
      <input type="datetime-local" v-model="config.time">
    </div>
    <div class="form-group">
      <label>Kafka地址</label>
      <input type="text" v-model="config.kafka">
    </div>
  </div>
</template>

<script setup>
import { reactive } from 'vue';

const config = reactive({
  paraid: '',
  value: '',
  time: '',
  kafka: ''
});
</script>

<style scoped>
.form-container {
  padding: 20px;
}
h2 {
  margin-bottom: 20px;
  color: #2c3e50;
}
.form-group {
  margin-bottom: 15px;
}
label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
</style>